package cn.security.auth.service;

import cn.security.auth.common.Result;
import cn.security.auth.entity.LoginParam;
import org.springframework.security.core.userdetails.User;

public interface LoginService {

    Result match(LoginParam param) throws Exception;

    Result loginAndSetHeader(LoginParam param)throws Exception;
    //Result login(LoginParam param, HttpServletResponse response) throws Exception;

    public User getDefaultLoginUser();
}
